﻿using Admin.NET.Application.Entity;

namespace Admin.NET.Application;

/// <summary>
/// 设备上下线输出参数
/// </summary>
public class DeviceOnOffLineDto
{
    /// <summary>
    /// 设备名称
    /// </summary>
    public string DeviceIdDeviceName { get; set; }

    /// <summary>
    /// 网关名称
    /// </summary>
    public string? GateWayIdGateWayName { get; set; }

    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 设备名称
    /// </summary>
    public long DeviceId { get; set; }

    /// <summary>
    /// 网关名称
    /// </summary>
    public long GateWayId { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public IsOnline IsOnline { get; set; }

    /// <summary>
    /// 下线原因
    /// </summary>
    public string OffLineReason { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 创建者Id
    /// </summary>
    public long? CreateUserId { get; set; }

    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }

    /// <summary>
    /// 修改者Id
    /// </summary>
    public long? UpdateUserId { get; set; }

    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }

    /// <summary>
    /// 软删除
    /// </summary>
    public bool IsDelete { get; set; }
}